<template>
    <div class="cbox">
        <h4>子路由组件B(子级路由组件)</h4>
        <div>{{ $route.params }}</div>

    </div>
</template>

<script setup>
import { onBeforeMount, onUnmounted } from 'vue';

onBeforeMount(function(){
    console.log("GuardPageChildB 组件被创建挂载")
})
onUnmounted(function(){
    console.log("GuardPageChildB 组件被销毁")
})
</script>

<style lang="sass" scoped>

</style>